package pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@TableName("role-user")
public class UserRole {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer roleId;   // 关联 role.id
    private Integer userId;   // 关联 user-po.id

}